package com.wzw.springboot.principle.use.security.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 菜单角色
 *
 * @author Wangzhiwen
 */
@Data
@Accessors(chain = true)
@Entity
@Table(name = "ROLE_MENU")
public class RoleMenuEntity implements Serializable {

    @Id
    @Column(name = "ROLE_ID")
    private Long roleId;

    @Column(name = "MENU_ID")
    private Long menuId;

}
